package com.rainy.guoran.business.manager.services;

import com.rainy.guoran.business.manager.controller.vo.UserSaveReqVO;
import com.rainy.guoran.business.manager.entity.User;

public interface UserService {
    /**
     * 插入用户
     *
     * @Param user
     * @return Long
     */
    Long insertUser(UserSaveReqVO user);

    /**
     * 更新用户
     *
     * @Param user
     */
    void updateUser(UserSaveReqVO user);

    /**
     * 查询用户
     *
     * @Param id
     * @return User
     */
    User selectUserById(Long id);

    /**
     * 删除用户
     *
     * @Param id
     */
    void deleteUser(Long id);
}
